package com.yxw.live_vod_boot.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class LiveLikeDTO implements Serializable {

    private static final long serialVersionUID = 116247611371L;

    @NotBlank(message = "点赞人不能为空")
    @ApiModelProperty(value = "点赞人ID")
    private  String userId;

    @NotNull(message = "点赞直播ID不能为空")
    @ApiModelProperty(value = "直播ID")
    private  String liveId;
}
